#ifndef VIEW_H
#define VIEW_H

#include <types.h>

#include "../system/msg/msg.h"

using namespace std;
class view{

public:
	int top;
	int left;
	int right;
	int bottom;
	bool enable;

	//virtual int repaint();
	//virtual int key_down_proc(enum SYSTEM_MSG m);
	virtual int key_down_proc(msg *m);
	virtual int show();
	virtual int hide();

	view();
	view(int a,int b,int w,int h,bool e);
	~view();




};

#endif
